package com.eleadmin.common.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 
 *
 * @author EleAdmin
 * @since 2024-03-01 22:02:39
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Homestay对象", description = "")
@TableName("t_homestay")
public class Homestay implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "民宿名称")
    private String name;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "房间类型(单人间、双人间)")
    private String roomType;

    @ApiModelProperty(value = "最大容纳人数")
    private Integer maxGueststs;

    @ApiModelProperty(value = "每晚价格")
    private BigDecimal price;

    @ApiModelProperty(value = "民宿当前状态")
    private Integer status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @ApiModelProperty(value = "房间照片")
    private String image;

}
